package com.gxa.p2p.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author xiangzuo
 * 投资记录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor


public class Investrecord implements Serializable {

  @ApiModelProperty(name = "mid",value = "标的id")
  private Long mid;
  @ApiModelProperty(name = "userName",value = "投资人名字")
  private String userName;
  @ApiModelProperty(name = "phone",value = "投资人手机号")
  private String phone;
  @ApiModelProperty(name = "markName",value = "标的名字")
  private String markName;
  @ApiModelProperty(name = "investMoney",value = "投资金额")
  private Double investMoney;
  @ApiModelProperty(name = "rate",value = "年利率")
  private Double rate;
  @ApiModelProperty(name = "manageExpense",value = "利息管理费")
  private Double manageExpense;
  @ApiModelProperty(name = "incomeMode",value = "收益方式")
  private String incomeMode;
  @ApiModelProperty(name = "received",value = "已收到的金额")
  private Double received;
  @ApiModelProperty(name = "noRecivedMoney",value = "待收金额")
  private Double noRecivedMoney;
  @ApiModelProperty(name = "channel",value = "投资渠道")
  private String channel;
  @ApiModelProperty(name = "investTime",value = "投资时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp investTime;
  @ApiModelProperty(name = "state",value = "投资状态")
  private String state;
  @ApiModelProperty(name = "remarks",value = "投资记录备注")
  private String remarks;
  @ApiModelProperty(name = "moneyType",value = "资金类型")
  private String moneyType;
}
